﻿<%@ Page Title="" Language="C#" Inherits="System.Web.Mvc.ViewPage<QLPKWeb.Models.FormBean.PhanQuyen.AuthenticationForm>" %>

<%@ Import Namespace="System.Web.Mvc.Html" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <meta charset="utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">	<!-- Force Latest IE rendering engine -->
	<title>Login Form</title>
	<meta name="description" content="">
	<meta name="author" content="">
	<!--[if lt IE 9]>
		<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->
	
	<!-- Mobile Specific Metas -->
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> 
	
	<!-- Stylesheets -->
	<link rel="stylesheet" href="../../Content/Login/css/base.css">
	<link rel="stylesheet" href="../../Content/Login/css/skeleton.css">
	<link rel="stylesheet" href="../../Content/Login/css/layout.css">
    

    <script src="../../Content/Scripts/jquery-1.6.2.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="<%=ResolveUrl("~/Content/Scripts/Authentication/Authentication.js")%>"></script>
    <script type="text/javascript" language="javascript">
        var basePath = '<%=ResolveUrl("~/") %>';
        $(document).ready(function () {
            $("#UserName").focus();
        });
    </script>
</head>
<body>
    <%Html.BeginForm(); %>
    <input type="hidden" id="Hidden1" name="Name" />
    	<div class="notice">
		<a href="" class="close">close</a>
		<p class="warn">Whoops! We didn't recognise your username or password. Please try again.</p>
	</div>
   
   <div class="container">
		
		<div class="form-bg">
			<form>
			    <div class="red_bold" id="AuthenticationMessage">
                                    <%= Model.IsAuthenticationError ? Model.LoginMessage : String.Empty%>
                                </div>
				<h2 style="color: #FFF">Login</h2>
				<p><input type="text" placeholder="UserName" id="UserName" name="UserName" onkeypress = "if (event.keyCode==13) { return DoLogin(); }" > </p>
				<p><input type="Password" placeholder="Password" id="Password" name="Password" onkeypress = "if (event.keyCode==13) { return DoLogin(); }"> </p>
				<label for="remember">
				  <input type="checkbox" id="remember" value="remember" />
				  <span style="color: #FFF">Remember me on this computer</span>
				</label>
				  <input type="button" style="border: 0; width: 106px; height: 28px; cursor: pointer" value="Đăng nhập"
                            onclick="DoLogin();" />
			</form>
		</div>

	
		<p class="forgot">Forgot your password? <a href="">Click here to reset it.</a></p>


	</div><!-- container -->

	<!-- JS  -->
	
	
	<script type="text/javascript" language="javascript" src="../../Content/Login/js/app.js"></script>
   

    <!-- content -->
   
    <%Html.EndForm(); %>
</body></html>
